projects
/
feed
/
routing.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cfb2ea
)
olsrd: adapt gpsdclient.c to new gpsd lib
610/head
author
Nick Hainke
<
[email protected]
>
Sat, 3 Oct 2020 18:02:37 +0000
(20:02 +0200)
committer
Nick Hainke
<
[email protected]
>
Sat, 3 Oct 2020 20:38:02 +0000
(22:38 +0200)
As mentioned in gpsd.h:
"Move gps_data_t->status to gps_fix_t.status for better fix merging"
Commit:
https://gitlab.com/gpsd/gpsd/-/commit/
29991d6ffeb41ecfc8297db68bb68be0128c8514
Signed-off-by: Nick Hainke <
[email protected]
>
olsrd/patches/012-gpsd.patch
[new file with mode: 0644]
patch
|
blob
diff --git a/olsrd/patches/012-gpsd.patch
b/olsrd/patches/012-gpsd.patch
new file mode 100644
(file)
index 0000000..
f6790cc
--- /dev/null
+++ b/
olsrd/patches/012-gpsd.patch
@@ -0,0
+1,11
@@
+--- a/lib/pud/src/gpsdclient.c
++++ b/lib/pud/src/gpsdclient.c
+@@ -370,7 +370,7 @@ void nmeaInfoFromGpsd(struct gps_data_t
+ );
+
+ gpsdata->set &= ~STATUS_SET; /* always valid */
+- if (gpsdata->status == STATUS_NO_FIX) {
++ if (gpsdata->fix.status == STATUS_NO_FIX) {
+ nmeaInfoClear(info);
+ nmeaTimeSet(&info->utc, &info->present, NULL);
+ return;